package com.tanhua.model.domain.mongodb;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

@Data
@Document(collection = "sounds")
public class Sounds implements Serializable {
    private static final long serialVersionUID = 6739966698394686123L;

    private ObjectId id;
    private Long userId; //发布者
    private String soundUrl; //喜欢的用户id，对方
    private Long created; //创建时间
}
